package mygui;

import java.awt.event.*;
import java.io.*;
import javax.swing.*;

import kernel.*;

public class ActionGenerateResults extends AbstractAction
{

    public ActionGenerateResults(){
	putValue(AbstractAction.NAME, "Results");
	putValue(AbstractAction.SHORT_DESCRIPTION, "Generate results");
	putValue(AbstractAction.SMALL_ICON, UIM.createImageIcon("images/generate.png",""));
    }
		 
    public void actionPerformed(ActionEvent e){
	// maybe show a progress bar while generating the results
	Simulator.getSimulator().generateResults();
    }
}